package com.study.it.dubbo.face;

import com.study.it.entity.Account;

import java.util.List;

//这个接口代表Account的微服务，到底提供哪些方法供他人调用
public interface AccountDubbo {
    //不要出现值类型的参数:int float double....,要用包装类Integer
    public String say();
    public List<Account> findList();
    public Account findById(Integer id);
    public Account findByCardNo(String cardno);
    public Account add(String cardno,Float money);
    public Account editMoney(String cardno,Float money);
    public Account editMoney(Integer accid,Float money);
    public Account editEnable(String cardno,Boolean enable);
    public Integer remove(Integer id);
}
